﻿using Furion.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurStudyxUnitTest.Services
{
    /// <summary>
    /// ICalcService接口
    /// </summary>
    public interface ICalcService
    {
        int Plus(int i, int j);
    }

    /// <summary>
    /// CalcService测试类
    /// </summary>
    public class CalcService : ICalcService, ITransient
    {
        public int Plus(int i, int j)
        {
            return i + j;
        }
    }
}
